<?php

namespace Biz\service\admin\tools;


use Encore\Admin\Grid;
use Encore\Admin\Widgets\Form;
use Illuminate\Http\Request;

interface InterfaceListTpl
{
    public function getList(): array;

    public function condition(): array;

    public static function getTitle(): string;
    
    public function getPageSize(): int;

    public function getTotal(): int;

    public function getGrid(Grid $grid);

    public function getForm(Form $form);

    public function getFormInfo($id);

    public function save($input);

    public function put($input, $id);

    public function sort($input);

    public function delete($id);

    public function init(Request $request): SimplePageTpl;

}